package com.xqboss.apps.enums.order;


import com.xqboss.common.enums.BaseEnum;

/**
 * 支付状态
 */
public enum PayStatusEnum implements BaseEnum<Integer> {

    WAIT_PAY(1, "待支付"),
    TRADE_CLOSED(2, "交易关闭"),
    TRADE_SUCCESS(3, "支付成功"),
    ;

    private final Integer value;
    private final String msg;

    PayStatusEnum(Integer value, String description) {
        this.value = value;
        this.msg = description;
    }

    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
